package indi.zhifa.recipe.bailan.framework.auth.entity.po;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

@Data
public class BaseUserWithRoleAndAuthViewEntity {
    @Schema(title = "主键")
    @TableId(type = IdType.ASSIGN_ID)
    protected Long id;

    @Schema(title = "用户名")
    protected String name;

    @Schema(title = "角色码")
    protected String roleCode;

    @Schema(title = "角色Id")
    protected String roleId;

    @Schema(title = "部门Id")
    protected Long authId;

    @Schema(title = "部门Code")
    protected String authCode;

    @Schema(title = "部门级联")
    protected String authCascade;

}
